Update matrix file each time a matrix changes while polling #533
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When a Flank execution hangs (due to a broken test or an FTL outage) and is killed by a timeout (on Jenkins, Bitrise, etc.), it's nice to be able to find the FTL console link associated with each shard in order to debug the issue. These are normally printed to stdout at the end of a test run, but they might not be logged if the run is killed before completing.
Fortunately, Flank also persists a
matrix_ids.json
file to disk that contains the FTL link. This PR increases the frequency with which that file is updated, so that FTL links will make it into the file as soon as they're available.I was hoping to add a test here but I was having trouble writing one that really covered this logic -- let me know if you have an idea for how to do that 😄